﻿<?xml version="1.0" encoding="utf-8" ?>

<hibernate-mapping
  xmlns="urn:nhibernate-mapping-2.2"
  namespace="MainDomainNamespace.Entity1s"
  assembly="MainDomainAssemblyName"
  default-lazy="false">

    <class name="Entity1" table="Entity1s" dynamic-update="true" optimistic-lock="all">
        <id name="PrimaryKey" column="Entity1PrimaryKey">
            <generator class="guid.comb" />
        </id>
        <property name="Name" not-null="true" length="100" unique="true" index="true" />
    </class>

</hibernate-mapping>